package me.macd.mindoc.model;

import java.util.Date;

public class DocumentHistory {
    private Integer historyId;

    private String action;

    private String actionName;

    private Integer documentId;

    private String documentName;

    private Integer parentId;

    private Integer memberId;

    private Date modifyTime;

    private Integer modifyAt;

    private Long version;

    private Integer isOpen;

    public DocumentHistory(Integer historyId, String action, String actionName, Integer documentId, String documentName, Integer parentId, Integer memberId, Date modifyTime, Integer modifyAt, Long version, Integer isOpen) {
        this.historyId = historyId;
        this.action = action;
        this.actionName = actionName;
        this.documentId = documentId;
        this.documentName = documentName;
        this.parentId = parentId;
        this.memberId = memberId;
        this.modifyTime = modifyTime;
        this.modifyAt = modifyAt;
        this.version = version;
        this.isOpen = isOpen;
    }

    public DocumentHistory() {
        super();
    }

    public Integer getHistoryId() {
        return historyId;
    }

    public void setHistoryId(Integer historyId) {
        this.historyId = historyId;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action == null ? null : action.trim();
    }

    public String getActionName() {
        return actionName;
    }

    public void setActionName(String actionName) {
        this.actionName = actionName == null ? null : actionName.trim();
    }

    public Integer getDocumentId() {
        return documentId;
    }

    public void setDocumentId(Integer documentId) {
        this.documentId = documentId;
    }

    public String getDocumentName() {
        return documentName;
    }

    public void setDocumentName(String documentName) {
        this.documentName = documentName == null ? null : documentName.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getModifyAt() {
        return modifyAt;
    }

    public void setModifyAt(Integer modifyAt) {
        this.modifyAt = modifyAt;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }
}